Open
Conversation
Author
|
This pull request would resolve issue #65 |
randy3k
reviewed
Apr 15, 2022
project_manager.py
Outdated
| filename = '{}.sublime-project'.format(project_name) | ||
| filepath = os.path.join(self.primary_dir(), filename) | ||
| print('ProjectManager: Creating {} -> {}'.format(filename, folder)) | ||
| with open(filepath, 'w') as handle: |
Owner
There was a problem hiding this comment.
You might use JsonFile(path).save(data)
Author
There was a problem hiding this comment.
Good catch. Updated to use JsonFile and removed the import above.
randy3k
reviewed
Apr 15, 2022
Owner
randy3k
left a comment
There was a problem hiding this comment.
Thanks for working on this. It seems very promising. I will take a closer look as soon as possible.
|
Any update on this? This would be a great feature! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added 3 new options:
auto_discover_base_directories- Similar format toprojectssetting, but will look in these directories for any git, hg, or svn repos and auto create project files for them in theprimary_dir().auto_discover_ignored_folders- Folder names to ignore when searching for repos in above paths.auto_discover_max_recursion_depth- Max depth to search when searching for repos.There are no new commands. This process is performed on Refresh which occurs when the plugin is loaded or refresh is manually called. If the
auto_discover_base_directoriesis empty, nothing will be done.